﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DemoNHibernate.Domain
{
	class Employe
	{
		// propriétés automatiques 
		public virtual Guid Id { get; set; } 
		public virtual int Version { get; set; } 
		public virtual string SS { get; set; } 
		public virtual string Nom { get; set; } 
		public virtual string Prenom { get; set; } 
		public virtual string Adresse { get; set; } 
		public virtual string Ville { get; set; } 
		public virtual string CodePostal { get; set; } 
		public virtual Indemnites Indemnites { get; set; } 
 
		// constructeurs 
		public Employe() 
		{ 
		} 
 
		// ToString 
		public override string ToString() 
		{ 
			return string.Format("[{0}|{1}|{2}|{3}|{4}|{5}|{6}]", SS, Nom, Prenom, Adresse, Ville, CodePostal, Indemnites); 
		} 
	}
}
